package com.sapient.mompoc.model;

import java.io.Serializable;

/**
 * Defines a Product
 * 
 * @author asudar
 */
public class Product implements Serializable {

	private static final long serialVersionUID = -121899032558621450L;

	private Long id;

	private String name;

	private String description;

	public Product() {
	}

	/**
	 * @return the Product Id
	 */
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDescription() {
		return description;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Product [id=");
		builder.append(id);
		builder.append(", name=");
		builder.append(name);
		builder.append(", description=");
		builder.append(description);
		builder.append("]");
		return builder.toString();
	}

}
